<template>
	<view class="tip-component">
		<view class="icon"></view>
		<view class="title">温馨提示</view>
		<view class="des">
			管手机旨在防止青少年沉迷手机帮助孩子从他律走向自律，继而走向成才走向成功!安装本软件前，应与孩子充分沟通使其了解和接受本软件。本软件尊重和保护未成年人隐私，不远程截屏、录音、拍摄，不搜集通话、短信聊天记录。
		</view>
		<view class="confirm" @click="close"> 确定 </view>
		<!-- <view class="close">关闭</view> -->
	</view>
</template>

<script setup lang="ts">
	const emit = defineEmits(['confirm']);
	const close = () => {
		emit("confirm")
	}
	
</script>

<style scoped lang="scss">
	.tip-component{
		width: 80%;
		margin: 0 auto;
		background: linear-gradient( 180deg, #EFF4FF 0%, #FFFFFF 100%);
		border-radius: 24upx;
		position: relative;
		display: flex;
		justify-content: center;
		flex-direction: column;
		align-items: center;
		.icon{
			position: absolute;
			top: 0;
			left: 0;
			background: url("/static/images/global-notice/FirstLogin.png") 0 0 no-repeat;
			width: 206upx;
			height: 206upx;
		}
		.close{
			position: absolute;
			bottom: -180upx;
			display: flex;
			justify-content: center;
		}
		.title{
			margin-top: 38upx;
			margin-bottom: 30upx;
			font-family: PingFang SC, PingFang SC;
			font-weight: 600;
			font-size: 36upx;
			color: #081A2A;
			text-align: center;
			font-style: normal;
			text-transform: none;
		}
		.des{
			width: 80%;
			font-family: PingFang SC, PingFang SC;
			font-weight: 400;
			font-size: 30upx;
			color: #081A2A;
			line-height: 45upx;
			text-align: left;
			font-style: normal;
			text-transform: none;
		}
		.confirm{
			width: 80%;
			margin-top: 30upx;
			margin-bottom: 54upx;
			height: 92upx;
			background: #427BF7;
			box-shadow: 0upx 8upx 8upx 0upx #C8D9FD;
			border-radius: 100upx;
			
			font-weight: 600;
			font-size: 28upx;
			color: #FFFFFF;
			line-height: 92upx;
			text-align: center;
			font-style: normal;
			text-transform: none;
		}
	}
	
</style>